import finds
import numpy as np

if __name__ == "__main__":
    samples = np.array([
        ['Sunny', 'Warm', 'Normal', 'Strong', 'Warm', 'Same'],
        ['Sunny', 'Warm', 'High',   'Strong', 'Warm', 'Same'],
        ['Rainy', 'Cold', 'High',   'Strong', 'Warm', 'Change'],
        ['Sunny', 'Warm', 'High',   'Strong', 'Cold', 'Change'],
    ], dtype='str')
    labels = [
        1, 1, 0, 1
    ]
    instance = finds.Finds(samples, labels)
    instance.train()

    instance.predict(samples[0])
    instance.predict(samples[2])
